import os

APPID = "2021000117633089"


print('app_private_key_string'.upper())
print('alipay_public_key_string'.upper())

a = os.path.join(os.path.dirname(__file__), 'pem', 'al_publick_key.pem')
b = os.path.join(os.path.dirname(__file__), 'pem', 'private_key.pem')
# print(a)
# print(b)

APP_PRIVATE_KEY_STRING = open(b).read()
ALIPAY_PUBLIC_KEY_STRING = open(a).read()
# print(ALIPAY_PUBLIC_KEY_STRING)
# print(APP_PRIVATE_KEY_STRING)

SIGN_TYPE = 'RSA2'

DEBUG = True

GATEWAY = 'https://openapi.alipaydev.com/gateway.do?' if DEBUG else 'https://openapi.alipay.com/gateway.do?'